package com.chinasoft.tw.service.aixin;

import com.chinasoft.tw.pojo.Info;
import com.chinasoft.tw.service.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class AXtrue implements TrueWord{

        String name;
        List<String> wordList = new ArrayList<>();
        Random random = new Random();

        public AXtrue() {
            this.name = "kelly";
            wordList.add("早上八点上课好困");
            wordList.add("啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊");
            wordList.add("哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈吼吼吼吼吼吼吼吼吼吼吼吼吼吼吼吼哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈吼吼吼吼吼吼吼吼吼吼吼吼吼吼吼");
        }
        @Override
        public Info getTrueWord() {
            Info info = new Info(name, wordList.get(random.nextInt(wordList.size())));
            return info;
        }
    }


